package com.sqx.modules.riderLine.dao;

import com.sqx.modules.riderLine.entity.RiderLine;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * <p>
 * 骑手在线时长 Mapper 接口
 * </p>
 *
 * @author wuChang
 * @since 2024-05-20
 */
@Mapper
public interface RiderLineDao extends BaseMapper<RiderLine> {

    Integer getNowRiderLine(@Param("userId") Long userId);

    RiderLine getNowOneLine(@Param("userId") Long userId);

    BigDecimal getDayLine(@Param("userId") Long userId);
}
